﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SecurityModule
{
   [System.Diagnostics.CodeAnalysis.SuppressMessage(
        "Microsoft.Design",
        "CA1040:AvoidEmptyInterfaces",
        Justification = "As pages without a code behind class cannot use attributes this enables them to opt-out.")]
    public interface ISuppressCsrfCheck
    {
    }

     

    /// <summary>
    /// Provides a class level attribute for excluding a page from the CSRF checks.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class SuppressCsrfCheckAttribute : Attribute
    {
    }
}
